package com.example.finalproject;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

public class LcDetail extends AppCompatActivity {
    private static final String TAG = "yes";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_details);
        Intent intent = getIntent();
        String  name = intent.getStringExtra("name_key");
        String material = intent.getStringExtra("material_key");
        String step = intent.getStringExtra("step_key");
        TextView tv1 = findViewById(R.id.d_name);
        tv1.setText(name);
        TextView tv2 = findViewById(R.id.d_material);
        tv2.setText(material);
        TextView tv3 = findViewById(R.id.d_step);
        tv3.setText(step);

    }
}